<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of Login
 *
 * @author vampired
 */
class Golib_Form_Login extends Zend_Form{

    public function init()
    {
        $this->setMethod('post');

        $this->addElement(
            'text', 'username', array(
                'label' => 'Username:',
                'required' => true,
                'filters'    => array('StringTrim'),
            ));

        
            $this->addElement('password', 'password', array(
                'label' => 'Password:',
                'required' => true,
                ));


//            $chkbox=new Zend_Form_Element_Checkbox('rememberme');
//            $chkbox->setLabel('Remember Me');
//            $this->addElement($chkbox);


         $submit=new Zend_Form_Element_Submit('Login');
         $this->addElement($submit);

        
    }
}

